<div id="main">
    <div id="contents">
        <form method="post" action="#" name="filters">
            <fieldset>
                <legend>
                    <label sid="menu.ddns"></label>
                </legend>
                <div class="frame_tab_layer">
                    <table class="cmenutitle" cellspacing="0" cellpadding="0" border="0" width="100%">
                        <tbody>
                        <tr>
                            <td class="frame_tab_left">
                                <label for="id2336">
                                    <label sid="ddns.provider"></label>
                                </label>
                            </td>
                            <td class="frame_tab_right">
                                <select id="id2336" name="id2336">
                                    <option id="manDdnsNone" value="none"> None </option>
                                    <option value="dyndns.org"> Dyndns.org </option>
                                    <option value="freedns.afraid.org"> freedns.afraid.org </option>
                                    <option value="zoneedit.com"> www.zoneedit.com </option>
                                    <option value="no-ip.com"> www.no-ip.com </option>
                                    <option value="3322.org"> www.3322.org </option>
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <td class="frame_tab_left">
                                <span id="img2338" class="errormsg"></span>
                                <label for="id2338">
                                    <label sid="ddns.account"></label>
                                </label>
                            </td>
                            <td class="frame_tab_right">
                                <input id="id2338" type="text" name="id2338" size="24">
                            </td>
                        </tr>
                        <tr>
                            <td class="frame_tab_left">
                                <span id="img2339" class="errormsg"></span>
                                <label for="id2339">
                                    <label sid="ddns.password"></label>
                                </label>
                            </td>
                            <td class="frame_tab_right">
                                <input id="id2339" type="password" name="id2339" size="24">
                            </td>
                        </tr>
                        <tr>
                            <td class="frame_tab_left">
                                <label for="id2337">
                                    <label sid="ddns.ddns"></label>
                                </label>
                            </td>
                            <td class="frame_tab_right">
                                <input id="id2337" type="text" name="id2337">
                            </td>
                        </tr>
                        <tr>
                            <td class="frame_tab_left"><label for="id2367" sid="ddns.refreshTime"></label></td>
                            <td class="frame_tab_right"><input type="text" name="id2367" id="id2367"/></td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </fieldset>
            <div class="submitFooter">
                <script type="text/javascript">
                    var buttonInfo = submitFooterButton(1,0);
                    $(".submitFooter").html(buttonInfo);
                </script>
            </div>
        </form>
    </div>
</div>
<br>
<div id="helpContainer">
    <div id="help">
        <div>
            <h2>
                <label sid="share.help"></label>
            </h2>
        </div>
        <div id="helpBody">
        <dl>
            <dt class="term">
                <label sid="menu.ddns"></label>
            </dt>
            <dd class="definition">
                <label sid="ddns.note1"></label>
            </dd>
        </dl>
    </div>
    </div>
</div>
<script type="text/javascript">
	var nonames = new Array("submit");
	var sendtext = getSendText(nonames);
	sendtext += "&id=2365&id=2363&id=2364";
	DataRequest("get_json",sendtext,function(data){
		var value2336 = data["id2336"];
		listselect("id2336",value2336);
		if(value2336=="3322.org"){
			$("#id2338").attr("value",data["id2365"]);
			$("#id2339").attr("value",data["id2363"]);
			$("#id2337").attr("value",data["id2364"]);
		}else{
			$("#id2338").attr("value",data["id2338"]);
			$("#id2339").attr("value",data["id2339"]);
			$("#id2337").attr("value",data["id2337"]);
		}
        $("#id2367").attr("value",data["id2367"]);
  });
 
	
	$("[name=submit]").click(function () {
		$(".errormsg").html('');
		var settext = "&id2336="+$("#id2336").val();
		var value2336 = $("#id2336").val();
		var value2338 = $("#id2338").val();
		var value2339 = $("#id2339").val();
		var value2337 = $("#id2337").val();
        var value2367 = $("#id2367").val();
		if(value2336=="3322.org"){
			settext+="&id2365="+value2338+"&id2363="+value2339+"&id2364="+value2337;
		}else{
			settext+="&id2338="+value2338+"&id2339="+value2339+"&id2337="+value2337;
		}
        settext+= "&id2367="+value2367;
		settext=settext.replace(/\#/g,"%23");
		submitform(modules["set_data"],settext);
	});

</script>
